package com.csun.cmny.provider.model.domain;

import java.io.Serializable;
import java.util.Date;

public class OldMan implements Serializable {
    private Integer id;			//老人ID

    private String oldmanno;	 //老人编号

    private Integer advisoryid;	//咨询入住id

    private String username;	 //用户名

    private String name;		//姓名

    private Integer sex;		//性别 0-男1-女

    private String weight;    // 体重

    private String height;    // 身高

    private String phone;		//电话
    private String birthday;	//生日——出生日期

    private Integer age;		//年龄——后台计算不需要验证
    
    private String idcard;		//身份证号
    private String sscard;		//社保卡号
    private Integer mstatus;	//婚姻状况1-未婚2-已婚3-丧偶4-离异5-未说明婚姻状况

    private Integer peopletype;	//人员类别1-政府供养特困对象2-困境家庭保障对象3-优待服务保障对象4-失独老人5-社会代养6-其他

    private Integer educationlevel;//文化程度

    private Integer religion;	//宗教信仰
    private Integer economicsource;//经济来源1-无2-低保3-低保边缘户4-退休金/养老金5-子女补贴6-亲友资助
    private Integer selfcarestatus;//生活自理能力1-自理2-半自理3-失能

    private Integer isdisabled;	//是否残疾0-否1-是

    private String disabledno;	//残疾证编号   前18位是身份证，19位范围是1-7残疾类型，20位是1-4残疾等级

    private Integer sdisabledlevel;//精神残疾等级

    private Integer bdisabledlevel;//肢体残疾等级

    private Integer sdDisabledLevel;//混合残疾等级
    
    private String address;		//家庭住址

    private String addressBdGps; //家庭地址百度经纬度  114.4339   30.543623

    private String ocompany;	//原工作单位

    private String occontact;	//原工作单位联系人

    private String ocphone;		//原工作单位联系方式

    private String ocommunity;	//原户籍所在街道社区

    private String ccommunity;	//现户籍所在街道社区

    private String ccomphone;//现户籍所在街道社区联系电话

    private String relativephone;//亲属联系电话

    private Integer iskeepashes;//是否保留骨灰

    private Integer isdonate;	//是否捐赠遗体

    private String deadtime;	//去世时间
    private String deadreason;	//去世原因

    private String pshistory;	//既往病史
    private String specialdiet;	//特殊饮食要求

    private String dhistory;	//药物过敏史

    private String egcontact;	//紧急联系人——申请人姓名

    private String egphone;		//紧急联系人联系方式——申请人联系方式

    private Integer egsex;		//紧急联系人性别——申请人性别
    private String egidcard;	//紧急联系人身份证号码——申请人身份证号码

    private String egcompany;	//紧急联系人工作单位——申请人工作单位

    private Integer relationship;//申请人与修养人关系

    private String egaddress;	//申请人住址

    private String email;	//申请人邮箱
    
    private String ancontacta;	//备用联系人a姓名

    private String anphonea;	//备用联系人a联系方式

    private String ancontactb;	//备用联系人b姓名

    private String anphoneb;	//备用联系人b联系方式

    private String specialcase;//特殊情况说明

    private Integer headpic;	//头像资源Id

    private Integer status;		//入院状态 0-待入院 1-已入院  2-已出院

    private Integer homeid;		//机构Id

    private Integer valid;		//该条记录是否有效    1-有效  0-无效

    private Integer createid;	//创建人Id

    private Date createtime;	//创建时间

    private Date modifytime;	//修改时间

    private Long modifier;		//修改人 （默认为管理员操作）

    private String outreason;	//出院原因

    private String inDepositNo;	//入住押金编号

    private Integer inDepositStatus;	//入住押金状态 0-未退款  1-已退款
    
    private Integer cardId;     //门禁卡Id

    private Integer result;      //评估结果

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }
    private String inDate;		//入住时间
    
    private Integer isPayed;	//是否缴费
    
    private OldManIeType oldManIeType;//老人缴费类型信息

    private String BP;      // 血压
    private String examinetime; //体检日期
    private String examinephoto; // 体检截图

    private String examineresult;
    
    private String payNumber;//缴费单号

    private Long contractno;//合同编号

    /**
     * 老人身份证图片
     */
    private String idCardPic;
    /**
     * 老人出院小结图片
     */
    private String outPic;
    /**
     * 其他图片
     */
    private String otherPic;

    
    private static final long serialVersionUID = 1L;

    public String getCcomphone() {
        return ccomphone;
    }

    public void setCcomphone(String ccomphone) {
        this.ccomphone = ccomphone;
    }

    public String getAddressBdGps() {
        return addressBdGps;
    }

    public void setAddressBdGps(String addressBdGps) {
        this.addressBdGps = addressBdGps;
    }

    public String getRelativephone() {
        return relativephone;
    }

    public void setRelativephone(String relativephone) {
        this.relativephone = relativephone;
    }

    public Long getContractno() {
        return contractno;
    }

    public void setContractno(Long contractno) {
        this.contractno = contractno;
    }

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public String getOldmanno() {
        return oldmanno;
    }

    public void setOldmanno(String oldmanno) {
        this.oldmanno = oldmanno;
    }

    public String getPayNumber() {
		return payNumber;
	}

	public void setPayNumber(String payNumber) {
		this.payNumber = payNumber;
	}

	public String getExamineresult() {
        return examineresult;
    }

    public void setExamineresult(String examineresult) {
        this.examineresult = examineresult;
    }

    public String getExaminetime() {
        return examinetime;
    }

    public void setExaminetime(String examinetime) {
        this.examinetime = examinetime;
    }

    public String getExaminephoto() {
        return examinephoto;
    }

    public void setExaminephoto(String examinephoto) {
        this.examinephoto = examinephoto;
    }

    public OldManIeType getOldManIeType() {
		return oldManIeType;
	}

	public void setOldManIeType(OldManIeType oldManIeType) {
		this.oldManIeType = oldManIeType;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdvisoryid() {
		return advisoryid;
	}

	public void setAdvisoryid(Integer advisoryid) {
		this.advisoryid = advisoryid;
	}

	public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getSscard() {
        return sscard;
    }

    public void setSscard(String sscard) {
        this.sscard = sscard;
    }

    public Integer getMstatus() {
        return mstatus;
    }

    public void setMstatus(Integer mstatus) {
        this.mstatus = mstatus;
    }

    public Integer getPeopletype() {
        return peopletype;
    }

    public void setPeopletype(Integer peopletype) {
        this.peopletype = peopletype;
    }

    public Integer getEducationlevel() {
        return educationlevel;
    }

    public void setEducationlevel(Integer educationlevel) {
        this.educationlevel = educationlevel;
    }

    public Integer getReligion() {
        return religion;
    }

    public void setReligion(Integer religion) {
        this.religion = religion;
    }

    public Integer getEconomicsource() {
        return economicsource;
    }

    public void setEconomicsource(Integer economicsource) {
        this.economicsource = economicsource;
    }

    public Integer getSelfcarestatus() {
        return selfcarestatus;
    }

    public void setSelfcarestatus(Integer selfcarestatus) {
        this.selfcarestatus = selfcarestatus;
    }

    public Integer getIsdisabled() {
        return isdisabled;
    }

    public void setIsdisabled(Integer isdisabled) {
        this.isdisabled = isdisabled;
    }

    public String getDisabledno() {
        return disabledno;
    }

    public void setDisabledno(String disabledno) {
        this.disabledno = disabledno;
    }

    public Integer getSdisabledlevel() {
        return sdisabledlevel;
    }

    public void setSdisabledlevel(Integer sdisabledlevel) {
        this.sdisabledlevel = sdisabledlevel;
    }

    public Integer getBdisabledlevel() {
        return bdisabledlevel;
    }

    public void setBdisabledlevel(Integer bdisabledlevel) {
        this.bdisabledlevel = bdisabledlevel;
    }

    public Integer getSdDisabledLevel() {
        return sdDisabledLevel;
    }

    public void setSdDisabledLevel(Integer sdDisabledLevel) {
        this.sdDisabledLevel = sdDisabledLevel;
    }

    public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getOcompany() {
        return ocompany;
    }

    public void setOcompany(String ocompany) {
        this.ocompany = ocompany;
    }

    public String getOccontact() {
        return occontact;
    }

    public void setOccontact(String occontact) {
        this.occontact = occontact;
    }

    public String getOcphone() {
        return ocphone;
    }

    public void setOcphone(String ocphone) {
        this.ocphone = ocphone;
    }

    public String getOcommunity() {
        return ocommunity;
    }

    public void setOcommunity(String ocommunity) {
        this.ocommunity = ocommunity;
    }

    public String getCcommunity() {
        return ccommunity;
    }

    public void setCcommunity(String ccommunity) {
        this.ccommunity = ccommunity;
    }

    public Integer getIskeepashes() {
        return iskeepashes;
    }

    public void setIskeepashes(Integer iskeepashes) {
        this.iskeepashes = iskeepashes;
    }

    public Integer getIsdonate() {
        return isdonate;
    }

    public void setIsdonate(Integer isdonate) {
        this.isdonate = isdonate;
    }

    public String getDeadtime() {
        return deadtime;
    }

    public void setDeadtime(String deadtime) {
        this.deadtime = deadtime;
    }

    public String getDeadreason() {
        return deadreason;
    }

    public void setDeadreason(String deadreason) {
        this.deadreason = deadreason;
    }

    public String getPshistory() {
        return pshistory;
    }

    public void setPshistory(String pshistory) {
        this.pshistory = pshistory;
    }

    public String getSpecialdiet() {
        return specialdiet;
    }

    public void setSpecialdiet(String specialdiet) {
        this.specialdiet = specialdiet;
    }

    public String getDhistory() {
        return dhistory;
    }

    public void setDhistory(String dhistory) {
        this.dhistory = dhistory;
    }

    public String getEgcontact() {
        return egcontact;
    }

    public void setEgcontact(String egcontact) {
        this.egcontact = egcontact;
    }

    public String getEgphone() {
        return egphone;
    }

    public void setEgphone(String egphone) {
        this.egphone = egphone;
    }

    public Integer getEgsex() {
        return egsex;
    }

    public void setEgsex(Integer egsex) {
        this.egsex = egsex;
    }

    public String getEgidcard() {
        return egidcard;
    }

    public void setEgidcard(String egidcard) {
        this.egidcard = egidcard;
    }

    public String getEgcompany() {
        return egcompany;
    }

    public void setEgcompany(String egcompany) {
        this.egcompany = egcompany;
    }

    public Integer getRelationship() {
        return relationship;
    }

    public void setRelationship(Integer relationship) {
        this.relationship = relationship;
    }

    public String getEgaddress() {
        return egaddress;
    }

    public void setEgaddress(String egaddress) {
        this.egaddress = egaddress;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAncontacta() {
        return ancontacta;
    }

    public void setAncontacta(String ancontacta) {
        this.ancontacta = ancontacta;
    }

    public String getAnphonea() {
        return anphonea;
    }

    public void setAnphonea(String anphonea) {
        this.anphonea = anphonea;
    }

    public String getAncontactb() {
        return ancontactb;
    }

    public void setAncontactb(String ancontactb) {
        this.ancontactb = ancontactb;
    }

    public String getAnphoneb() {
        return anphoneb;
    }

    public void setAnphoneb(String anphoneb) {
        this.anphoneb = anphoneb;
    }

    public String getSpecialcase() {
        return specialcase;
    }

    public void setSpecialcase(String specialcase) {
        this.specialcase = specialcase;
    }

    public Integer getHeadpic() {
        return headpic;
    }

    public void setHeadpic(Integer headpic) {
        this.headpic = headpic;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getInDate() {
		return inDate;
	}

	public void setInDate(String inDate) {
		this.inDate = inDate;
	}

	public Integer getIsPayed() {
		return isPayed;
	}

	public void setIsPayed(Integer isPayed) {
		this.isPayed = isPayed;
	}

	public Integer getHomeid() {
        return homeid;
    }

    public void setHomeid(Integer homeid) {
        this.homeid = homeid;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Integer getCreateid() {
        return createid;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getModifytime() {
        return modifytime;
    }

    public void setModifytime(Date modifytime) {
        this.modifytime = modifytime;
    }

    public Long getModifier() {
        return modifier;
    }

    public void setModifier(Long modifier) {
        this.modifier = modifier;
    }

    public String getOutreason() {
        return outreason;
    }

    public void setOutreason(String outreason) {
        this.outreason = outreason;
    }

    public String getInDepositNo() {
        return inDepositNo;
    }

    public void setInDepositNo(String inDepositNo) {
        this.inDepositNo = inDepositNo;
    }

    public Integer getInDepositStatus() {
        return inDepositStatus;
    }

    public void setInDepositStatus(Integer inDepositStatus) {
        this.inDepositStatus = inDepositStatus;
    }

    public String getBP() {
        return BP;
    }

    public void setBP(String BP) {
        this.BP = BP;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OldMan other = (OldMan) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOldmanno() == null ? other.getOldmanno() == null : this.getOldmanno().equals(other.getOldmanno()))
        	&& (this.getAdvisoryid() == null ? other.getAdvisoryid() == null : this.getAdvisoryid().equals(other.getAdvisoryid()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
            && (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
            && (this.getAge() == null ? other.getAge() == null : this.getAge().equals(other.getAge()))
            && (this.getIdcard() == null ? other.getIdcard() == null : this.getIdcard().equals(other.getIdcard()))
            && (this.getSscard() == null ? other.getSscard() == null : this.getSscard().equals(other.getSscard()))
            && (this.getMstatus() == null ? other.getMstatus() == null : this.getMstatus().equals(other.getMstatus()))
            && (this.getPeopletype() == null ? other.getPeopletype() == null : this.getPeopletype().equals(other.getPeopletype()))
            && (this.getEducationlevel() == null ? other.getEducationlevel() == null : this.getEducationlevel().equals(other.getEducationlevel()))
            && (this.getReligion() == null ? other.getReligion() == null : this.getReligion().equals(other.getReligion()))
            && (this.getEconomicsource() == null ? other.getEconomicsource() == null : this.getEconomicsource().equals(other.getEconomicsource()))
            && (this.getSelfcarestatus() == null ? other.getSelfcarestatus() == null : this.getSelfcarestatus().equals(other.getSelfcarestatus()))
            && (this.getIsdisabled() == null ? other.getIsdisabled() == null : this.getIsdisabled().equals(other.getIsdisabled()))
            && (this.getDisabledno() == null ? other.getDisabledno() == null : this.getDisabledno().equals(other.getDisabledno()))
            && (this.getSdisabledlevel() == null ? other.getSdisabledlevel() == null : this.getSdisabledlevel().equals(other.getSdisabledlevel()))
            && (this.getBdisabledlevel() == null ? other.getBdisabledlevel() == null : this.getBdisabledlevel().equals(other.getBdisabledlevel()))
                && (this.getSdDisabledLevel() == null ? other.getSdDisabledLevel() == null : this.getSdDisabledLevel().equals(other.getSdDisabledLevel()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getOcompany() == null ? other.getOcompany() == null : this.getOcompany().equals(other.getOcompany()))
            && (this.getOccontact() == null ? other.getOccontact() == null : this.getOccontact().equals(other.getOccontact()))
            && (this.getOcphone() == null ? other.getOcphone() == null : this.getOcphone().equals(other.getOcphone()))
            && (this.getOcommunity() == null ? other.getOcommunity() == null : this.getOcommunity().equals(other.getOcommunity()))
            && (this.getCcommunity() == null ? other.getCcommunity() == null : this.getCcommunity().equals(other.getCcommunity())) && (this.getCcomphone() == null ? other.getCcomphone() == null : this.getCcomphone().equals(other.getCcomphone())) && (this.getRelativephone() == null ? other.getRelativephone() == null : this.getRelativephone().equals(other.getRelativephone()))
            && (this.getIskeepashes() == null ? other.getIskeepashes() == null : this.getIskeepashes().equals(other.getIskeepashes()))
            && (this.getIsdonate() == null ? other.getIsdonate() == null : this.getIsdonate().equals(other.getIsdonate()))
            && (this.getDeadtime() == null ? other.getDeadtime() == null : this.getDeadtime().equals(other.getDeadtime()))
            && (this.getDeadreason() == null ? other.getDeadreason() == null : this.getDeadreason().equals(other.getDeadreason()))
            && (this.getPshistory() == null ? other.getPshistory() == null : this.getPshistory().equals(other.getPshistory()))
            && (this.getSpecialdiet() == null ? other.getSpecialdiet() == null : this.getSpecialdiet().equals(other.getSpecialdiet()))
            && (this.getDhistory() == null ? other.getDhistory() == null : this.getDhistory().equals(other.getDhistory()))
            && (this.getEgcontact() == null ? other.getEgcontact() == null : this.getEgcontact().equals(other.getEgcontact()))
            && (this.getEgphone() == null ? other.getEgphone() == null : this.getEgphone().equals(other.getEgphone()))
            && (this.getEgsex() == null ? other.getEgsex() == null : this.getEgsex().equals(other.getEgsex()))
            && (this.getEgidcard() == null ? other.getEgidcard() == null : this.getEgidcard().equals(other.getEgidcard()))
            && (this.getEgcompany() == null ? other.getEgcompany() == null : this.getEgcompany().equals(other.getEgcompany()))
            && (this.getRelationship() == null ? other.getRelationship() == null : this.getRelationship().equals(other.getRelationship()))
            && (this.getEgaddress() == null ? other.getEgaddress() == null : this.getEgaddress().equals(other.getEgaddress()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getAncontacta() == null ? other.getAncontacta() == null : this.getAncontacta().equals(other.getAncontacta()))
            && (this.getAnphonea() == null ? other.getAnphonea() == null : this.getAnphonea().equals(other.getAnphonea()))
            && (this.getAncontactb() == null ? other.getAncontactb() == null : this.getAncontactb().equals(other.getAncontactb()))
            && (this.getAnphoneb() == null ? other.getAnphoneb() == null : this.getAnphoneb().equals(other.getAnphoneb()))
            && (this.getSpecialcase() == null ? other.getSpecialcase() == null : this.getSpecialcase().equals(other.getSpecialcase()))
            && (this.getHeadpic() == null ? other.getHeadpic() == null : this.getHeadpic().equals(other.getHeadpic()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getInDate() == null ? other.getInDate() == null : this.getInDate().equals(other.getInDate()))
            && (this.getIsPayed() == null ? other.getIsPayed() == null : this.getIsPayed().equals(other.getIsPayed()))
            && (this.getHomeid() == null ? other.getHomeid() == null : this.getHomeid().equals(other.getHomeid()))
            && (this.getValid() == null ? other.getValid() == null : this.getValid().equals(other.getValid()))
            && (this.getCreateid() == null ? other.getCreateid() == null : this.getCreateid().equals(other.getCreateid()))
            && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime()))
            && (this.getModifytime() == null ? other.getModifytime() == null : this.getModifytime().equals(other.getModifytime()))
            && (this.getModifier() == null ? other.getModifier() == null : this.getModifier().equals(other.getModifier()))
            && (this.getOutreason() == null ? other.getOutreason() == null : this.getOutreason().equals(other.getOutreason()))
                && (this.getInDepositNo() == null ? other.getInDepositNo() == null : this.getInDepositNo().equals(other.getInDepositNo()))
                && (this.getInDepositStatus() == null ? other.getInDepositStatus() == null : this.getInDepositStatus().equals(other.getInDepositStatus()))
           && (this.getCardId() == null ? other.getCardId() == null : this.getCardId().equals(other.getCardId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOldmanno() == null) ? 0 : getOldmanno().hashCode());
        result = prime * result + ((getAdvisoryid() == null) ? 0 : getAdvisoryid().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
        result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
        result = prime * result + ((getAge() == null) ? 0 : getAge().hashCode());
        result = prime * result + ((getIdcard() == null) ? 0 : getIdcard().hashCode());
        result = prime * result + ((getSscard() == null) ? 0 : getSscard().hashCode());
        result = prime * result + ((getMstatus() == null) ? 0 : getMstatus().hashCode());
        result = prime * result + ((getPeopletype() == null) ? 0 : getPeopletype().hashCode());
        result = prime * result + ((getEducationlevel() == null) ? 0 : getEducationlevel().hashCode());
        result = prime * result + ((getReligion() == null) ? 0 : getReligion().hashCode());
        result = prime * result + ((getEconomicsource() == null) ? 0 : getEconomicsource().hashCode());
        result = prime * result + ((getSelfcarestatus() == null) ? 0 : getSelfcarestatus().hashCode());
        result = prime * result + ((getIsdisabled() == null) ? 0 : getIsdisabled().hashCode());
        result = prime * result + ((getDisabledno() == null) ? 0 : getDisabledno().hashCode());
        result = prime * result + ((getSdisabledlevel() == null) ? 0 : getSdisabledlevel().hashCode());
        result = prime * result + ((getBdisabledlevel() == null) ? 0 : getBdisabledlevel().hashCode());
        result = prime * result + ((getSdisabledlevel() == null) ? 0 : getSdisabledlevel().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getOcompany() == null) ? 0 : getOcompany().hashCode());
        result = prime * result + ((getOccontact() == null) ? 0 : getOccontact().hashCode());
        result = prime * result + ((getOcphone() == null) ? 0 : getOcphone().hashCode());
        result = prime * result + ((getOcommunity() == null) ? 0 : getOcommunity().hashCode());
        result = prime * result + ((getCcommunity() == null) ? 0 : getCcommunity().hashCode());
        result = prime * result + ((getCcomphone() == null) ? 0 : getCcomphone().hashCode());
        result = prime * result + ((getRelativephone() == null) ? 0 : getRelativephone().hashCode());
        result = prime * result + ((getIskeepashes() == null) ? 0 : getIskeepashes().hashCode());
        result = prime * result + ((getIsdonate() == null) ? 0 : getIsdonate().hashCode());
        result = prime * result + ((getDeadtime() == null) ? 0 : getDeadtime().hashCode());
        result = prime * result + ((getDeadreason() == null) ? 0 : getDeadreason().hashCode());
        result = prime * result + ((getPshistory() == null) ? 0 : getPshistory().hashCode());
        result = prime * result + ((getSpecialdiet() == null) ? 0 : getSpecialdiet().hashCode());
        result = prime * result + ((getDhistory() == null) ? 0 : getDhistory().hashCode());
        result = prime * result + ((getEgcontact() == null) ? 0 : getEgcontact().hashCode());
        result = prime * result + ((getEgphone() == null) ? 0 : getEgphone().hashCode());
        result = prime * result + ((getEgsex() == null) ? 0 : getEgsex().hashCode());
        result = prime * result + ((getEgidcard() == null) ? 0 : getEgidcard().hashCode());
        result = prime * result + ((getEgcompany() == null) ? 0 : getEgcompany().hashCode());
        result = prime * result + ((getRelationship() == null) ? 0 : getRelationship().hashCode());
        result = prime * result + ((getEgaddress() == null) ? 0 : getEgaddress().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getAncontacta() == null) ? 0 : getAncontacta().hashCode());
        result = prime * result + ((getAnphonea() == null) ? 0 : getAnphonea().hashCode());
        result = prime * result + ((getAncontactb() == null) ? 0 : getAncontactb().hashCode());
        result = prime * result + ((getAnphoneb() == null) ? 0 : getAnphoneb().hashCode());
        result = prime * result + ((getSpecialcase() == null) ? 0 : getSpecialcase().hashCode());
        result = prime * result + ((getHeadpic() == null) ? 0 : getHeadpic().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getInDate() == null) ? 0 : getInDate().hashCode());
        result = prime * result + ((getIsPayed() == null) ? 0 : getIsPayed().hashCode());
        result = prime * result + ((getHomeid() == null) ? 0 : getHomeid().hashCode());
        result = prime * result + ((getValid() == null) ? 0 : getValid().hashCode());
        result = prime * result + ((getCreateid() == null) ? 0 : getCreateid().hashCode());
        result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode());
        result = prime * result + ((getModifytime() == null) ? 0 : getModifytime().hashCode());
        result = prime * result + ((getModifier() == null) ? 0 : getModifier().hashCode());
        result = prime * result + ((getOutreason() == null) ? 0 : getOutreason().hashCode());
        result = prime * result + ((getInDepositNo() == null) ? 0 : getInDepositNo().hashCode());
        result = prime * result + ((getInDepositStatus() == null) ? 0 : getInDepositStatus().hashCode());
        result = prime * result + ((getCardId() == null) ? 0 : getCardId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", oldmanno=").append(oldmanno);
        sb.append(", advisoryid=").append(advisoryid);
        sb.append(", username=").append(username);
        sb.append(", name=").append(name);
        sb.append(", sex=").append(sex);
        sb.append(", phone=").append(phone);
        sb.append(", birthday=").append(birthday);
        sb.append(", age=").append(age);
        sb.append(", idcard=").append(idcard);
        sb.append(", sscard=").append(sscard);
        sb.append(", mstatus=").append(mstatus);
        sb.append(", peopletype=").append(peopletype);
        sb.append(", educationlevel=").append(educationlevel);
        sb.append(", religion=").append(religion);
        sb.append(", economicsource=").append(economicsource);
        sb.append(", selfcarestatus=").append(selfcarestatus);
        sb.append(", isdisabled=").append(isdisabled);
        sb.append(", disabledno=").append(disabledno);
        sb.append(", sdisabledlevel=").append(sdisabledlevel);
        sb.append(", bdisabledlevel=").append(bdisabledlevel);
        sb.append(", sdDisabledLevel=").append(sdDisabledLevel);
        sb.append(", address=").append(address);
        sb.append(", ocompany=").append(ocompany);
        sb.append(", occontact=").append(occontact);
        sb.append(", ocphone=").append(ocphone);
        sb.append(", ocommunity=").append(ocommunity);
        sb.append(", ccommunity=").append(ccommunity);
        sb.append(", ccomphone=").append(ccomphone);
        sb.append(", relativephone=").append(relativephone);
        sb.append(", iskeepashes=").append(iskeepashes);
        sb.append(", isdonate=").append(isdonate);
        sb.append(", deadtime=").append(deadtime);
        sb.append(", deadreason=").append(deadreason);
        sb.append(", pshistory=").append(pshistory);
        sb.append(", specialdiet=").append(specialdiet);
        sb.append(", dhistory=").append(dhistory);
        sb.append(", egcontact=").append(egcontact);
        sb.append(", egphone=").append(egphone);
        sb.append(", egsex=").append(egsex);
        sb.append(", egidcard=").append(egidcard);
        sb.append(", egcompany=").append(egcompany);
        sb.append(", relationship=").append(relationship);
        sb.append(", egaddress=").append(egaddress);
        sb.append(", email=").append(email);
        sb.append(", ancontacta=").append(ancontacta);
        sb.append(", anphonea=").append(anphonea);
        sb.append(", ancontactb=").append(ancontactb);
        sb.append(", anphoneb=").append(anphoneb);
        sb.append(", specialcase=").append(specialcase);
        sb.append(", headpic=").append(headpic);
        sb.append(", status=").append(status);
        sb.append(", inDate=").append(inDate);
        sb.append(", isPayed=").append(isPayed);
        sb.append(", homeid=").append(homeid);
        sb.append(", valid=").append(valid);
        sb.append(", createid=").append(createid);
        sb.append(", createtime=").append(createtime);
        sb.append(", modifytime=").append(modifytime);
        sb.append(", modifier=").append(modifier);
        sb.append(", outreason=").append(outreason);
        sb.append(", inDepositNo=").append(inDepositNo);
        sb.append(", inDepositStatus=").append(inDepositStatus);
        sb.append(", cardId=").append(cardId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    public String getIdCardPic() {
        return idCardPic;
    }

    public void setIdCardPic(String idCardPic) {
        this.idCardPic = idCardPic;
    }

    public String getOutPic() {
        return outPic;
    }

    public void setOutPic(String outPic) {
        this.outPic = outPic;
    }

    public String getOtherPic() {
        return otherPic;
    }

    public void setOtherPic(String otherPic) {
        this.otherPic = otherPic;
    }
}